package com.quan.server;

public class AndroidClient {
    public static String getMyWeixinId() {
        return Const.testWeixinId;
    }

    public static String receiveMessage(String senderWeixinId, String message) {
        String messageReturn = TestSDK.handleMessage(senderWeixinId, message, getMyWeixinId());
        TestSDK.getIfInvitingRecordByWeixinIdAndInviterWeixinId(senderWeixinId, getMyWeixinId());
        return messageReturn;
    }

    public static String quanTest = "一一一一返 利 消 息一一一一\n" +
        "天天特价锅巴 零食安徽特产麻辣味散装大糯米锅巴小吃米酥酥批发￥62gs0QaYmBr￥\n" +
        "\n" +
        "原价:14.8元\n" +
        "付费参考:14.80元\n" +
        "预计返利:0.26元\n" +
        "优惠金额:0元优惠卷\n" +
        "\n" +
        "http://t.cn/RHvAlD3【长按复制本条信息，然后打开淘宝会自动显示返利链接】";

    public static String getQuan(String fromWeixinId, String fromWeixinMessage) {
        //fixme
        return quanTest;
    }

    public static boolean updateRelationship(String weixinId, String inviterWeixinId) {
        return true;
    }

    public static String getMoneyRest(String weixinId) {
        return "一一一一个 人 信 息一一一一\n" +
            "ID:\n" +
            "总提现金额:0.26元\n" +
            "可提现金额:0元\n" +
            "未收货金额:0.00元\n" +
            "总成功订单:1单\n" +
            "\n" +
            "推广人数:0人\n" +
            "推广奖励:0元\n" +
            "提现中:0元\n" +
            "\n" +
            "发送[帮助]查看更多信息\n" +
            "发送[帮助]查看更多信息\n";
    }

    public static String withdrawMoney(String weixinId) {
        return "一一一一申 请 成 功一一一一\n" +
            "\n" +
            "申请提交金额:0.26元\n" +
            "冻结金额:0元\n" +
            "未收货金额:0.00\n" +
            "我们会在24小时内处理,处理后会消息通知,请注意查看";
    }
}
